#include<stdio.h>

int main(void) {
    int age;
    float asserts;
    char pet[30];

    printf("Please enter your age, asserts, and favorite pet.\n");
    scanf("%d %f", &age, &asserts); // use &
    scanf("%s", pet); // no & for char array
    printf("%d %.2f %s\n", age, asserts, pet);

    return 0;
}